﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<NETMovie.UI.WebMVC.Models.MovieModel>" %>

      <fieldset>
        <legend>Movie Basic Information</legend>
       
        <div class="display-label">Title: <%: Html.Encode(Model.Title) %></div>
        
        
        <div class="display-label">Description: <%: Html.Encode(Model.Description) %></div>
        
        
        <div class="display-label">Summary: <%: Model.Summary %></div>
        
        
        <div class="display-label">Releasing On: <%: Html.DisplayFor(m => m.ReleaseDate, "Date")%></div>
        
        
        <div class="display-label">Available for Rent: <%: Html.DisplayFor(m => m.AvailableDate, "Date") %></div>
        
        
        <div class="display-label">Premium: <% if(Model.isPremium) { %>Yes <% } else { %> No <% } %></div>
        
          
        <div class="display-label">Movie Category: <%: Model.Category %></div>
      
    </fieldset>